home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / MacHaskell 2.2 / com / cmu / README < prev    next >
Encoding:
Text File  |  1994-09-27  |  2.5 KB  |  56 lines  |  [TEXT/ttxt]

  1. This directory contains command scripts used for building Yale Haskell
  2. from the source distribution under CMU Common Lisp on the sparc.
  3.  
  4. We have been using version 17e of CMU Common Lisp to build Haskell.
  5. You can ftp this from lisp-rt1.slisp.cs.cmu.edu (128.2.217.9).  Unlike
  6. some previous versions of CMU CL, 17e works on both sun4m and sun4c
  7. architectures without modification.
  8.  
  9. We have discovered a rather nasty bug in CMU CL's compiler that sometimes
  10. causes Haskell to get random bus errors.  We've reported this problem
  11. to CMU and they're working on a fix.
  12.  
  13. It is likely that you will run into problems with inadequate stack space
  14. using Haskell built with the standard version of CMU Common Lisp.
  15. Increasing the stack size involves rebuilding CMU Lisp from scratch.
  16. We have already done this for the precompiled CMU-based Haskell system
  17. we distribute (the stack allocation has been increased from 500K to
  18. 10M).  If you want to get a copy of our lisp.core or need help in
  19. figuring out how to make this change yourself, let us know.
  20.  
  21. Developers need to source haskell-development instead of haskell-setup
  22. in the .cshrc file.
  23.  
  24. To rebuild the system:
  25.  
  26. * You need to define environment variables Y2, CMUCL, and CMUCLLIB to 
  27.   point to the appropriate pathnames.  See the haskell-development 
  28.   script for details.
  29.  
  30. * Make sure that the environment variable PRELUDEBIN (in the 
  31.   haskell-setup script) points to $PRELUDE/cmu.
  32.  
  33. * Execute the "compile" script.  This will recompile all of the Lisp 
  34.   source files that make up the Yale Haskell system.  Compiled files
  35.   are put in the "cmu" subdirectory of each source directory.
  36.  
  37. * Execute the "build-prelude" script to compile the standard prelude.  
  38.   Note that this process tends to use up a huge amount of memory!
  39.  
  40. * Execute the "savesys" script to save a core file.
  41.  
  42. * The new core file is initially called "bin/new-cmu-haskell.core".
  43.   Use the -core command line argument to cmucl to test it.  If it
  44.   works, you should rename it to "bin/haskell.core" and use the 
  45.   "bin/cmu-haskell" script to execute it.  Make sure HASKELLPROG 
  46.   (in the haskell-setup script) is correct.  Depending on where you 
  47.   have cmucl this script may need editing.
  48.  
  49. * If you want to build an executable with the X support, you'll also
  50.   need to run the "build-xlib" and "savesys-xlib" scripts.  You
  51.   need to edit these scripts to change the pathname of the file 
  52.   containing the CLX library (or suppress the load entirely if you
  53.   are using a Lisp executable with CLX pre-loaded.).
  54.  
  55.  
  56.